package com.sto.stoapp.http.request.query;

import android.content.Context;

import com.sto.stoapp.db.StoFilePreference;
import com.sto.stoapp.http.request.BaseRequest;
import com.sto.stoapp.util.DateUtil;
import com.sto.stoapp.util.TraceUtil;

public class WudianQueryRequest extends BaseRequest {
/**
 * 
 * @param Context
 * @param orgCode  所属网点
 * @param province
 * @param city
 * @param district地区
 * @param keyWord
 */
	public WudianQueryRequest(Context c, String orgCode, String province,
			String city, String district, String keyWord) {
		this.orgCode = orgCode;
		this.province = province;
		this.city = city;
		this.district = district;
		this.keyWord = keyWord;
		mty = "0822";
		tid = StoFilePreference.getInstance(c).getMachineCode();
		sessionId = StoFilePreference.getInstance(c).getSessionId();
		trace = TraceUtil.getTraceTimes();
		opTerminal = StoFilePreference.getInstance(c).getMachineCode();
		deviceType = "PDA";
		opOrgCode = StoFilePreference.getInstance(c).getSiteCode();
		opUserCode = StoFilePreference.getInstance(c).getSiteCode()
				+ StoFilePreference.getInstance(c).getUserCode();
		opTime = DateUtil.getDateTime();
	}

	public String orgCode = "";
	public String province = "";
	public String city = "";
	public String district = "";
	public String keyWord = "";
	public String opOrgCode = "";
	public String deviceType = "";
	public String opTerminal = "";
	public String opUserCode = "";
	public String opTime = "";
}
